Total Complexity | 38 |
Dependencies | 7 |
Dependents | 1 |
Total lines | 271 |
Lines of code | 141 |
Logical lines of code | 71 |
Comment lines | 90 |
Methods | 12 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
fetch_speed_score() | 51 | 11 | 26 | |
prepare_speed_score_response() | 50 | 11 | 26 | |
maybe_dispatch_no_boost_score_request() | 57 | 5 | 17 | |
process_url_arg() | 60 | 2 | 14 | |
dispatch_speed_score_request() | 61 | 2 | 12 | |
register_rest_routes() | 57 | 1 | 20 | |
__construct() | 68 | 1 | 7 | |
allow_jb_disable_module() | 72 | 1 | 5 | |
get_score_request_by_url() | 75 | 1 | 5 | |
get_boost_modules_disabled_url() | 79 | 1 | 3 | |
can_access_speed_scores() | 80 | 1 | 3 | |
clear_speed_score_request_cache() | 82 | 1 | 3 |